package Com.amit.corejava;

public class Lab15 {

	int id;
	String name;
	int age;
	
	void display()
	{
		System.out.println(id+" "+name+" "+age);
	}
	
	
	Lab15(int i,String n)
	{
		id=i;
		name=n;
	}
	

	Lab15(int i,String n,int m)
	{
		id=i;
		name=n;
		age=m;
	}
	
	public static void main(String[] args) {
		
		
		Lab15 l1=new Lab15(1,"amityadav");
		
		Lab15 l2=new Lab15(2,"anil",7);
		
		l1.display();
		
		l2.display();
		

	}

}
